using System;
using System.Collections.Generic;
using System.Text;

namespace Planar.PT120
{
    public class DriverErrorEventArgs : EventArgs
    {
        private string _Message = null;

        public string Message
        {
            get { return _Message; }
        }

        private Exception _Exception = null;

        public Exception Exception
        {
            get { return _Exception; }
        }

        public DriverErrorEventArgs(string Message) : this(Message, null) { }
        public DriverErrorEventArgs(string Message, Exception ex)
        {
            _Message = Message;
            _Exception = Exception;
        }
    }
}
